package cn.sherer.beans.weixin;

/**
 * 微信媒体文件
 */
public class WxMediaResult extends WxResult {
    private String type;
    private String media_id;
    private long created_at;
    private String url;

    public WxMediaResult() {
    }

    public WxMediaResult(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMedia_id() {
        return media_id;
    }

    public void setMedia_id(String media_id) {
        this.media_id = media_id;
    }

    public long getCreated_at() {
        return created_at;
    }

    public void setCreated_at(long created_at) {
        this.created_at = created_at;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "WxMediaResult{" + "errcode=" + this.getErrcode() + ", errmsg=" + this.getErrmsg() + ", type=" + type + ", media_id=" + media_id + ", created_at=" + created_at + ", url=" + url + "}";
    }
}
